<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/ ..\FrameXML\UI.xsd">

	<Script file="XPerl_Check.lua"/>

	<Button name="XPerl_CheckButtonTemplate" inherits="XPerl_BasicButton" virtual="true">
		<Size><AbsDimension x="32" y="32"/></Size>
	</Button>

	<Button name="XPerlNormalListItemTemplate" virtual="true">
		<Size>
			<AbsDimension x="250" y="14"/>
		</Size>
		<Layers>
			<Layer level="BORDER">
				<Texture name="$parentIcon" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Classes" hidden="true">
					<Size>
						<AbsDimension x="14" y="14"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT"/>
					</Anchors>
				</Texture>
				<FontString name="$parentName" inherits="GameFontNormalSmall" justifyH="LEFT">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentIcon" relativePoint="TOPRIGHT"/>
						<Anchor point="BOTTOMRIGHT">
							<Offset>
								<AbsDimension x="0" y="1"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentCount" inherits="GameFontNormal" wraponspaces="false" justifyV="CENTER" justifyH="RIGHT">
					<Size><AbsDimension x="50" y="14"/></Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentIcon" relativePoint="TOPRIGHT"/>
						<Anchor point="BOTTOMRIGHT">
							<Offset>
								<AbsDimension x="-18" y="1"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentFR" inherits="GameFontNormal" justifyH="RIGHT" hidden="true">
					<Size><AbsDimension x="28" y="14"/></Size>
					<Anchors>
						<Anchor point="TOPRIGHT" relativePoint="TOP">
							<Offset>
								<AbsDimension x="0" y="1"/>
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1" g="0" b="0"/>
				</FontString>
				<FontString name="$parentNR" inherits="GameFontNormal" justifyH="RIGHT" hidden="true">
					<Size><AbsDimension x="28" y="14"/></Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentFR"/>
					</Anchors>
					<Color r="0" g="1" b="0"/>
				</FontString>
				<FontString name="$parentFRR" inherits="GameFontNormal" justifyH="RIGHT" hidden="true">
					<Size><AbsDimension x="28" y="14"/></Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentNR"/>
					</Anchors>
					<Color r="0" g="0" b="1"/>
				</FontString>
				<FontString name="$parentSR" inherits="GameFontNormal" justifyH="RIGHT" hidden="true">
					<Size><AbsDimension x="28" y="14"/></Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentFRR"/>
					</Anchors>
					<Color r="1" g="0" b="1"/>
				</FontString>
				<FontString name="$parentAR" inherits="GameFontNormal" justifyH="RIGHT" hidden="true">
					<Size><AbsDimension x="28" y="14"/></Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentSR"/>
					</Anchors>
					<Color r="1" g="1" b="1"/>
				</FontString>
				<Texture name="$parentEquiped" file="Interface\Buttons\UI-CheckBox-Check" hidden="true">
					<Size><AbsDimension x="18" y="18"/></Size>
					<Anchors>
						<Anchor point="TOP" relativeTo="$parentNR"/>
					</Anchors>
				</Texture>
			</Layer>
		</Layers>
		<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
		<Scripts>
			<OnLoad>
				self:RegisterForClicks("LeftButtonUp", "RightButtonUp")
			</OnLoad>
			<OnClick>
				XPerl_Check_PlayerOnClick(arg1)
			</OnClick>
		</Scripts>
	</Button>

	<Button name="XPerlCheckListItemTemplate" virtual="true">
		<Size>
			<AbsDimension x="206" y="14"/>
		</Size>
		<Frames>
			<CheckButton name="$parentTick" inherits="UICheckButtonTemplate">
				<Size>
					<AbsDimension x="18" y="18"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="-3" y="2"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						XPerl_Check_OnClickTick()
						XPerl_Check_OnClickItem(arg1)
					</OnClick>
					<OnEnter>
						self:GetParent():LockHighlight()
						XPerl_Check_OnEnter()
					</OnEnter>
					<OnLeave>
						GameTooltip:Hide()
						for k,v in pairs(XPerl_CheckItems) do
							if (v.link == _G[self:GetParent():GetName().."Name"]:GetText()) then
								if (not v.selected) then
									self:GetParent():UnlockHighlight()
								end
							end
						end
					</OnLeave>
				</Scripts>
			</CheckButton>
		</Frames>
		<Layers>
			<Layer level="BORDER">
				<Texture name="$parentIcon">
					<Size>
						<AbsDimension x="14" y="14"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="14" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<FontString name="$parentName" inherits="GameFontNormalSmall" justifyH="LEFT">
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentIcon"/>
						<Anchor point="BOTTOMRIGHT">
							<Offset>
								<AbsDimension x="0" y="2"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentCount" inherits="GameFontNormal" wraponspaces="false" justifyH="RIGHT">
					<Size>
						<AbsDimension x="20" y="14"/>
					</Size>
					<Anchor point="TOPRIGHT">
						<Offset>
							<AbsDimension x="0" y="2"/>
						</Offset>
					</Anchor>
				</FontString>
			</Layer>
			<Layer level="BACKGROUND">
				<Texture name="$parentGauge" file="Interface\TargetingFrame\UI-StatusBar" hidden="true">
					<Size>
						<AbsDimension x="1" y="12"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentName">
							<Offset>
								<AbsDimension x="1" y="-1"/>
							</Offset>
						</Anchor>
					</Anchors>
					<TexCoords left=".8" right="1" top=".8" bottom="1"/>
				</Texture>
			</Layer>
		</Layers>
		<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
		<Scripts>
			<OnLoad>
				self:RegisterForClicks("LeftButtonUp", "RightButtonUp")
			</OnLoad>
			<OnEnter>
				XPerl_Check_OnEnter()
			</OnEnter>
			<OnLeave>
				GameTooltip:Hide()
			</OnLeave>
			<OnClick>
				XPerl_Check_OnClickItem(arg1)
			</OnClick>
		</Scripts>
	</Button>

	<Button name="XPerl_NormalListTemplate" virtual="true" enableMouse="true">
		<Size>
			<AbsDimension x="260" y="178"/>
		</Size>
		<Backdrop bgFile="Interface\Addons\XPerl_RaidHelper\Images\XPerl_FrameBack" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
			<EdgeSize>
				<AbsValue val="9"/>
			</EdgeSize>
			<TileSize>
				<AbsValue val="16"/>
			</TileSize>
			<BackgroundInsets>
				<AbsInset left="3" right="3" top="3" bottom="3"/>
			</BackgroundInsets>
		</Backdrop>
		<Frames>
			<Button name="$parentTitle">
				<Size>
					<AbsDimension x="240" y="14"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="5" y="-5"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Frames>
					<Button name="$parentClass" text="!">
						<Size>
							<AbsDimension x="14" y="14"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="0" y="2"/>
								</Offset>
							</Anchor>
						</Anchors>
						<ButtonText name="$parentText">
							<Anchors>
								<Anchor point="TOPLEFT"/>
								<Anchor point="BOTTOMRIGHT"/>
							</Anchors>
						</ButtonText>
						<NormalFont style="GameFontNormal"/>
						<HighlightFont style="GameFontHighlight"/>
						<DisabledFont style="GameFontDisable"/>
						<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
						<Scripts>
							<OnClick>
								XPerl_Check_Players_Sort("class")
							</OnClick>
						</Scripts>
					</Button>
					<Button name="$parentName" text="XPERL_CHECK_NAME">
						<Size>
							<AbsDimension x="75" y="14"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentClass"/>
						</Anchors>
						<ButtonText name="$parentText">
							<Anchors>
								<Anchor point="TOPLEFT"/>
								<Anchor point="BOTTOMRIGHT"/>
							</Anchors>
						</ButtonText>
						<NormalFont style="GameFontNormal"/>
						<HighlightFont style="GameFontHighlight"/>
						<DisabledFont style="GameFontDisable"/>
						<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
						<Scripts>
							<OnClick>
								XPerl_Check_Players_Sort("name")
							</OnClick>
						</Scripts>
					</Button>
					<Button name="$parentCount" text="#">
						<Size>
							<AbsDimension x="60" y="14"/>
						</Size>
						<Anchors>
							<Anchor point="TOPRIGHT">
								<Offset>
									<AbsDimension x="0" y="2"/>
								</Offset>
							</Anchor>
						</Anchors>
						<ButtonText name="$parentText">
							<Anchors>
								<Anchor point="TOPLEFT"/>
								<Anchor point="BOTTOMRIGHT"/>
							</Anchors>
						</ButtonText>
						<NormalFont style="GameFontNormal"/>
						<HighlightFont style="GameFontHighlight"/>
						<DisabledFont style="GameFontDisable"/>
						<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
						<Scripts>
							<OnClick>
								XPerl_Check_Players_Sort("count")
							</OnClick>
						</Scripts>
					</Button>
					<Button name="$parentFR" hidden="true">
						<Size>
							<AbsDimension x="28" y="14"/>
						</Size>
						<Anchors>
							<Anchor point="TOP">
								<Offset>
									<AbsDimension x="-4" y="2"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Layers>
							<Layer level="BACKGROUND">
								<Texture file="Interface\PaperDollInfoFrame\UI-Character-ResistanceIcons" alphaMode="ADD">
									<Size>
										<AbsDimension x="14" y="14"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT">
											<Offset>
												<AbsDimension x="7" y="0"/>
											</Offset>
										</Anchor>
									</Anchors>
									<TexCoords left="0.21875" right="0.78125" top="0.0234375" bottom="0.09375"/>
								</Texture>
							</Layer>
						</Layers>
						<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
						<Color r="1" g="0" b="0"/>
						<Scripts>
							<OnClick>
								XPerl_Check_Players_Sort("fr")
							</OnClick>
						</Scripts>
					</Button>
					<Button name="$parentNR" hidden="true">
						<Size>
							<AbsDimension x="28" y="14"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentFR"/>
						</Anchors>
						<Layers>
							<Layer level="BACKGROUND">
								<Texture file="Interface\PaperDollInfoFrame\UI-Character-ResistanceIcons" alphaMode="ADD">
									<Size>
										<AbsDimension x="14" y="14"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT">
											<Offset>
												<AbsDimension x="7" y="0"/>
											</Offset>
										</Anchor>
									</Anchors>
									<TexCoords left="0.21875" right="0.78125" top="0.13671875" bottom="0.20703125"/>
								</Texture>
							</Layer>
						</Layers>
						<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
						<Color r="0" g="1" b="0"/>
						<Scripts>
							<OnClick>
								XPerl_Check_Players_Sort("nr")
							</OnClick>
						</Scripts>
					</Button>
					<Button name="$parentFRR" hidden="true">
						<Size>
							<AbsDimension x="28" y="14"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT" relativePoint="TOPRIGHT"  relativeTo="$parentNR"/>
						</Anchors>
						<Layers>
							<Layer level="BACKGROUND">
								<Texture file="Interface\PaperDollInfoFrame\UI-Character-ResistanceIcons" alphaMode="ADD">
									<Size>
										<AbsDimension x="14" y="14"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT">
											<Offset>
												<AbsDimension x="7" y="0"/>
											</Offset>
										</Anchor>
									</Anchors>
									<TexCoords left="0.21875" right="0.78125" top="0.36328125" bottom="0.43359375"/>
								</Texture>
							</Layer>
						</Layers>
						<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
						<Color r="0" g="0" b="1"/>
						<Scripts>
							<OnClick>
								XPerl_Check_Players_Sort("frr")
							</OnClick>
						</Scripts>
					</Button>
					<Button name="$parentSR" hidden="true">
						<Size>
							<AbsDimension x="28" y="14"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentFRR"/>
						</Anchors>
						<Layers>
							<Layer level="BACKGROUND">
								<Texture file="Interface\PaperDollInfoFrame\UI-Character-ResistanceIcons" alphaMode="ADD">
									<Size>
										<AbsDimension x="14" y="14"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT">
											<Offset>
												<AbsDimension x="7" y="0"/>
											</Offset>
										</Anchor>
									</Anchors>
									<TexCoords left="0.21875" right="0.78125" top="0.4765625" bottom="0.546875"/>
								</Texture>
							</Layer>
						</Layers>
						<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
						<Color r="1" g="0" b="1"/>
						<Scripts>
							<OnClick>
								XPerl_Check_Players_Sort("sr")
							</OnClick>
						</Scripts>
					</Button>
					<Button name="$parentAR" hidden="true">
						<Size>
							<AbsDimension x="28" y="14"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT" relativePoint="TOPRIGHT"  relativeTo="$parentSR"/>
						</Anchors>
						<Layers>
							<Layer level="BACKGROUND">
								<Texture file="Interface\PaperDollInfoFrame\UI-Character-ResistanceIcons" alphaMode="ADD">
									<Size>
										<AbsDimension x="14" y="14"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT">
											<Offset>
												<AbsDimension x="7" y="0"/>
											</Offset>
										</Anchor>
									</Anchors>
									<TexCoords left="0.21875" right="0.78125" top="0.25" bottom="0.3203125"/>
								</Texture>
							</Layer>
						</Layers>
						<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
						<Color r="1" g="1" b="1"/>
						<Scripts>
							<OnClick>
								XPerl_Check_Players_Sort("ar")
							</OnClick>
						</Scripts>
					</Button>
					<Button name="$parentDur" text="%" hidden="true">
						<Size>
							<AbsDimension x="68" y="14"/>
						</Size>
						<Anchors>
							<Anchor point="TOP" relativeTo="$parentNR">
								<Offset>
									<AbsDimension x="2" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<ButtonText name="$parentText">
							<Anchors>
								<Anchor point="TOPLEFT"/>
								<Anchor point="BOTTOMRIGHT"/>
							</Anchors>
						</ButtonText>
						<NormalFont style="GameFontNormal"/>
						<HighlightFont style="GameFontHighlight"/>
						<DisabledFont style="GameFontDisable"/>
						<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
						<Scripts>
							<OnClick>
								XPerl_Check_Players_Sort("dur")
							</OnClick>
						</Scripts>
					</Button>
				</Frames>
				<Scripts>
					<OnLoad>
						_G[self:GetName().."Name"]:SetText(XPERL_CHECK_NAME)
						_G[self:GetName().."Count"]:SetText("#")
					</OnLoad>
				</Scripts>
			</Button>
			<Button name="$parent1" inherits="XPerlNormalListItemTemplate" id="1">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentTitle" relativePoint="BOTTOMLEFT"/>
				</Anchors>
			</Button>
			<Button name="$parent2" inherits="XPerlNormalListItemTemplate" id="2">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent1" relativePoint="BOTTOMLEFT"/>
				</Anchors>
			</Button>
			<Button name="$parent3" inherits="XPerlNormalListItemTemplate" id="3">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent2" relativePoint="BOTTOMLEFT"/>
				</Anchors>
			</Button>
			<Button name="$parent4" inherits="XPerlNormalListItemTemplate" id="4">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent3" relativePoint="BOTTOMLEFT"/>
				</Anchors>
			</Button>
			<Button name="$parent5" inherits="XPerlNormalListItemTemplate" id="5">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent4" relativePoint="BOTTOMLEFT"/>
				</Anchors>
			</Button>
			<Button name="$parent6" inherits="XPerlNormalListItemTemplate" id="6">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent5" relativePoint="BOTTOMLEFT"/>
				</Anchors>
			</Button>
			<Button name="$parent7" inherits="XPerlNormalListItemTemplate" id="7">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent6" relativePoint="BOTTOMLEFT"/>
				</Anchors>
			</Button>
			<Button name="$parent8" inherits="XPerlNormalListItemTemplate" id="8">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent7" relativePoint="BOTTOMLEFT"/>
				</Anchors>
			</Button>
			<Button name="$parent9" inherits="XPerlNormalListItemTemplate" id="9">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent8" relativePoint="BOTTOMLEFT"/>
				</Anchors>
			</Button>
			<Button name="$parent10" inherits="XPerlNormalListItemTemplate" id="10">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent9" relativePoint="BOTTOMLEFT"/>
				</Anchors>
			</Button>
			<Button name="$parentTotals" inherits="XPerlNormalListItemTemplate" id="99">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent10" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="-2"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<ScrollFrame name="$parentScrollBar" inherits="FauxScrollFrameTemplate">
				<Size>
					<AbsDimension x="230" y="145"/>
				</Size>
				<Anchors>
					<Anchor point="TOPRIGHT">
						<Offset>
							<AbsDimension x="-25" y="-17"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnVerticalScroll>
						FauxScrollFrame_OnVerticalScroll(self, offset, 14, XPerl_Check_UpdatePlayerList)
					</OnVerticalScroll>
				</Scripts>
			</ScrollFrame>
		</Frames>
		<Layers>
			<Layer level="ARTWORK">
				<Texture file="Interface\TradeSkillFrame\UI-TradeSkill-SkillBorder">
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="3" y="-16"/>
							</Offset>
						</Anchor>
						<Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT">
							<Offset>
								<AbsDimension x="-3" y="-20"/>
							</Offset>
						</Anchor>
					</Anchors>
					<TexCoords left="0.1" right="1.0" top="0" bottom="0.25"/>
				</Texture>
				<Texture file="Interface\TradeSkillFrame\UI-TradeSkill-SkillBorder">
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT">
							<Offset>
								<AbsDimension x="3" y="20"/>
							</Offset>
						</Anchor>
						<Anchor point="BOTTOMRIGHT">
							<Offset>
								<AbsDimension x="-3" y="16"/>
							</Offset>
						</Anchor>
					</Anchors>
					<TexCoords left="0.1" right="1.0" top="0" bottom="0.25"/>
				</Texture>
			</Layer>
		</Layers>
	</Button>

	<Button name="XPerl_CheckListTemplate" virtual="true">
		<Scripts>
			<OnLoad>
				self:RegisterForClicks("LeftButtonDown", "LeftButtonUp", "RightButtonUp", "RightButtonDown");
			</OnLoad>
			<OnClick>
				XPerl_Check_OnClickItem(arg1)
			</OnClick>
			<OnEnter>
				XPerl_Check_OnEnter()
			</OnEnter>
			<OnLeave>
				GameTooltip:Hide()
			</OnLeave>
		</Scripts>
		<Size>
			<AbsDimension x="230" y="178"/>
		</Size>
		<Backdrop bgFile="Interface\Addons\XPerl_RaidHelper\Images\XPerl_FrameBack" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
			<EdgeSize>
				<AbsValue val="9"/>
			</EdgeSize>
			<TileSize>
				<AbsValue val="16"/>
			</TileSize>
			<BackgroundInsets>
				<AbsInset left="3" right="3" top="3" bottom="3"/>
			</BackgroundInsets>
		</Backdrop>
		<Frames>
			<Button name="$parent1" inherits="XPerlCheckListItemTemplate" id="1">
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="5" y="-5"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parent2" inherits="XPerlCheckListItemTemplate" id="2">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent1" relativePoint="BOTTOMLEFT"/>
				</Anchors>
			</Button>
			<Button name="$parent3" inherits="XPerlCheckListItemTemplate" id="3">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent2" relativePoint="BOTTOMLEFT"/>
				</Anchors>
			</Button>
			<Button name="$parent4" inherits="XPerlCheckListItemTemplate" id="4">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent3" relativePoint="BOTTOMLEFT"/>
				</Anchors>
			</Button>
			<Button name="$parent5" inherits="XPerlCheckListItemTemplate" id="5">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent4" relativePoint="BOTTOMLEFT"/>
				</Anchors>
			</Button>
			<Button name="$parent6" inherits="XPerlCheckListItemTemplate" id="6">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent5" relativePoint="BOTTOMLEFT"/>
				</Anchors>
			</Button>
			<Button name="$parent7" inherits="XPerlCheckListItemTemplate" id="7">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent6" relativePoint="BOTTOMLEFT"/>
				</Anchors>
			</Button>
			<Button name="$parent8" inherits="XPerlCheckListItemTemplate" id="8">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent7" relativePoint="BOTTOMLEFT"/>
				</Anchors>
			</Button>
			<Button name="$parent9" inherits="XPerlCheckListItemTemplate" id="9">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent8" relativePoint="BOTTOMLEFT"/>
				</Anchors>
			</Button>
			<Button name="$parent10" inherits="XPerlCheckListItemTemplate" id="10">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent9" relativePoint="BOTTOMLEFT"/>
				</Anchors>
			</Button>
			<Button name="$parent11" inherits="XPerlCheckListItemTemplate" id="11">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent10" relativePoint="BOTTOMLEFT"/>
				</Anchors>
			</Button>
			<Button name="$parent12" inherits="XPerlCheckListItemTemplate" id="12">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent11" relativePoint="BOTTOMLEFT"/>
				</Anchors>
			</Button>
			<ScrollFrame name="$parentScrollBar" inherits="FauxScrollFrameTemplate" enableMouse="true">
				<Size>
					<AbsDimension x="200" y="173"/>
				</Size>
				<Anchors>
					<Anchor point="TOPRIGHT">
						<Offset>
							<AbsDimension x="-25" y="-3"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnVerticalScroll>
						FauxScrollFrame_OnVerticalScroll(self, offset, 14, XPerl_Check_UpdateItemList)
					</OnVerticalScroll>
				</Scripts>
			</ScrollFrame>
		</Frames>
	</Button>

	<Frame name="XPerl_CheckAnchor" parent="UIParent" resizable="true" movable="true" clampedToScreen="true">
		<Size>
			<AbsDimension x="500" y="240"/>
		</Size>
		<Anchors>
			<Anchor point="CENTER"/>
		</Anchors>
	</Frame>

	<Frame name="XPerl_Check" parent="XPerl_CheckAnchor" hidden="true" clampedToScreen="true">
		<Scripts>
			<OnLoad>
				XPerl_CheckOnLoad(self)
			</OnLoad>
			<OnEnter>
				XPerl_Check.forcedOpen = nil
			</OnEnter>
			<OnDragStart>
				if (not XPerl_Admin.CheckPinned or (IsAltKeyDown() and IsControlKeyDown() and IsShiftKeyDown())) then
					XPerl_CheckAnchor:StartMoving()
				end
			</OnDragStart>
			<OnDragStop>
				XPerl_CheckAnchor:StopMovingOrSizing()
				if (XPerl_SavePosition) then
					XPerl_SavePosition(XPerl_CheckAnchor)
				end
			</OnDragStop>
		</Scripts>
		<Size>
			<AbsDimension x="500" y="240"/>
		</Size>
		<Anchors>
			<Anchor point="TOPLEFT"/>
		</Anchors>
		<Backdrop bgFile="Interface\Addons\XPerl_RaidHelper\Images\XPerl_FrameBack" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
			<EdgeSize>
				<AbsValue val="9"/>
			</EdgeSize>
			<TileSize>
				<AbsValue val="16"/>
			</TileSize>
			<BackgroundInsets>
				<AbsInset left="3" right="3" top="3" bottom="3"/>
			</BackgroundInsets>
		</Backdrop>
		<Frames>
			<Frame name="$parentTitleBar">
				<Scripts>
					<OnEnter>
						XPerl_Check.forcedOpen = nil
						XPerl_Check_Expand()
						XPerl_Check_ItemsChanged()
					</OnEnter>
					<OnLoad>
						self:RegisterForDrag("LeftButton")
					</OnLoad>
					<OnDragStart>
						if (not XPerl_Admin.CheckPinned or (IsAltKeyDown() and IsControlKeyDown() and IsShiftKeyDown())) then
							XPerl_CheckAnchor:StartMoving()
						end
					</OnDragStart>
					<OnDragStop>
						XPerl_CheckAnchor:StopMovingOrSizing()
						if (XPerl_SavePosition) then
							XPerl_SavePosition(XPerl_CheckAnchor)
						end
					</OnDragStop>
				</Scripts>
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="3" y="-3"/>
						</Offset>
					</Anchor>
					<Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT">
						<Offset>
							<AbsDimension x="-3" y="-14"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="ARTWORK">
						<FontString inherits="GameFontNormalSmall" text="XPERL_CHECK_TITLE" justifyH="LEFT">
							<Color r="1" g="1" b="1"/>
							<Anchors>
								<Anchor point="TOPLEFT">
									<Offset>
										<AbsDimension x="2" y="0"/>
									</Offset>
								</Anchor>
								<Anchor point="BOTTOMRIGHT"/>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
				<Frames>
					<Button name="$parentClose" inherits="UIPanelCloseButton">
						<Size>
							<AbsDimension x="22" y="22"/>
						</Size>
						<Anchors>
							<Anchor point="TOPRIGHT">
								<Offset>
									<AbsDimension x="5" y="5"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								XPerl_Check:Hide()
							</OnClick>
						</Scripts>
					</Button>
					<Button name="$parentPin" inherits="XPerl_BasicButton">
						<Size>
							<AbsDimension x="12" y="12"/>
						</Size>
						<Anchors>
							<Anchor point="RIGHT" relativeTo="$parentClose" relativePoint="LEFT">
								<Offset>
									<AbsDimension x="3" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<NormalTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Pin">
							<TexCoords left="0" right="0.46875" top="0.5" bottom="0.453125"/>
						</NormalTexture>

						<PushedTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Pin">
							<TexCoords left="0" right="0.46875" top="0.5" bottom="0.953125"/>
						</PushedTexture>

						<HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD">
							<TexCoords left="0" right="0.9" top="0.1" bottom="0.9"/>
						</HighlightTexture>

						<Scripts>
							<OnLoad>
								self.SetButtonTex = function()
									local tex = XPerl_CheckTitleBarPin:GetNormalTexture()
									if (XPerl_Admin.CheckPinned) then
										tex:SetTexCoord(0.5, 0.96875, 0, 0.453125)
									else
										tex:SetTexCoord(0, 0.46875, 0, 0.453125)
									end

									tex = XPerl_CheckTitleBarPin:GetPushedTexture()
									if (XPerl_Admin.CheckPinned) then
										tex:SetTexCoord(0.5, 0.96875, 0.5, 0.953125)
									else
										tex:SetTexCoord(0, 0.46875, 0.5, 0.953125)
									end
								end
								self.tooltipText = XPERL_BUTTON_ADMIN_PIN
							</OnLoad>
							<OnClick>
								XPerl_Admin.CheckPinned = not XPerl_Admin.CheckPinned
								self:SetButtonTex()
							</OnClick>
						</Scripts>
					</Button>
					<Button name="$parentLockOpen" inherits="XPerl_BasicButton">
						<Size>
							<AbsDimension x="12" y="12"/>
						</Size>
						<Anchors>
							<Anchor point="RIGHT" relativeTo="$parentPin" relativePoint="LEFT"/>
						</Anchors>

						<NormalTexture file="Interface\Addons\XPerl_RaidHelper\Images\XPerl_Bits">
							<TexCoords left="0.375" right="0.5" top="0.0" bottom="0.125"/>
						</NormalTexture>

						<PushedTexture file="Interface\Addons\XPerl_RaidHelper\Images\XPerl_Bits">
							<TexCoords left="0.375" right="0.5" top="0.125" bottom="0.25"/>
						</PushedTexture>

						<HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD">
							<TexCoords left="0" right="0.9" top="0.1" bottom="0.9"/>
						</HighlightTexture>

						<Scripts>
							<OnLoad>
								self.SetButtonTex = function()
									local tex = XPerl_CheckTitleBarLockOpen:GetNormalTexture()
									if (XPerl_Admin.CheckLockOpen) then
										tex:SetTexCoord(0.375, 0.5, 0, 0.125)
									else
										tex:SetTexCoord(0.375, 0.5, 0.125, 0.25)
									end
								end
								self.tooltipText = XPERL_BUTTON_ADMIN_LOCKOPEN
							</OnLoad>
							<OnClick>
								XPerl_Admin.CheckLockOpen = not XPerl_Admin.CheckLockOpen
								self:SetButtonTex()
							</OnClick>
						</Scripts>
					</Button>
				</Frames>
			</Frame>
			<Frame name="$parentList" hidden="true">
				<Scripts>
					<OnShow>
						XPerl_Check_UpdateItemList()
						XPerl_Check_MakePlayerList()
						XPerl_Check_ShowInfo()
					</OnShow>
				</Scripts>
				<Size>
					<AbsDimension x="460" y="178"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentTitleBar"/>
				</Anchors>
				<Frames>
					<Button name="$parentItems" inherits="XPerl_CheckListTemplate" id="1">
						<Anchors>
							<Anchor point="TOPLEFT"/>
						</Anchors>
					</Button>
					<Button name="$parentPlayers" inherits="XPerl_NormalListTemplate" id="2">
						<Anchors>
							<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentItems"/>
						</Anchors>
					</Button>
				</Frames>
			</Frame>
			<Frame name="$parentButton" hidden="true">
				<Scripts>
					<OnUpdate>
						XPerl_Check_ShowInfo()
						if (not XPerl_Check.forcedOpen and not XPerl_Admin.CheckLockOpen) then
							local f = GetMouseFocus()
							if (f) then
								while (f:GetParent() and f:GetParent() ~= UIParent and f:GetParent() ~= XPerl_CheckAnchor) do
									f = f:GetParent()
								end

								if (f ~= XPerl_Check) then
									XPerl_Check:SetWidth(130)
									XPerl_Check:SetHeight(18)
									XPerl_CheckList:Hide()
									XPerl_CheckButton:Hide()
									XPerl_CheckTitleBarLockOpen:Hide()
								end
							end
						end
					</OnUpdate>
				</Scripts>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentList">
						<Offset>
							<AbsDimension x="0" y="-2"/>
						</Offset>
					</Anchor>
					<Anchor point="BOTTOMRIGHT">
						<Offset>
							<AbsDimension x="-3" y="3"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Frames>
					<Button name="$parentQuery" inherits="XPerl_CheckButtonTemplate">
						<Anchors>
							<Anchor point="TOPLEFT"/>
						</Anchors>
						<NormalTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check">
							<TexCoords left="0" right="0.125" top="0" bottom="0.25"/>
						</NormalTexture>
						<PushedTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check">
							<TexCoords left="0.125" right="0.25" top="0" bottom="0.25"/>
						</PushedTexture>
						<DisabledTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check">
							<TexCoords left="0.25" right="0.375" top="0" bottom="0.25"/>
						</DisabledTexture>
						<HighlightTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check" alphaMode="ADD">
							<TexCoords left="0.375" right="0.5" top="0" bottom="0.25"/>
						</HighlightTexture>
						<Scripts>
							<OnLoad>
								self.tooltipText = "XPERL_CHECK_QUERY_DESC"
							</OnLoad>
							<OnClick>
								XPerl_Check_Query()
							</OnClick>
						</Scripts>
					</Button>

					<Button name="$parentSelectLast" inherits="XPerl_CheckButtonTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentQuery"/>
						</Anchors>
						<NormalTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check">
							<TexCoords left="0.375" right="0.5" top="0.25" bottom="0.5"/>
						</NormalTexture>
						<PushedTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check">
							<TexCoords left="0.5" right="0.625" top="0.25" bottom="0.5"/>
						</PushedTexture>
						<HighlightTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check" alphaMode="ADD">
							<TexCoords left="0.375" right="0.5" top="0" bottom="0.25"/>
						</HighlightTexture>
						<Scripts>
							<OnLoad>
								self.tooltipText = "XPERL_CHECK_LAST_DESC"
							</OnLoad>
							<OnClick>
								XPerl_Check_TickLastResults()
							</OnClick>
						</Scripts>
					</Button>

					<Button name="$parentSelectAll" inherits="XPerl_CheckButtonTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentSelectLast"/>
						</Anchors>
						<NormalTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check">
							<TexCoords left="0.5" right="0.625" top="0" bottom="0.25"/>
						</NormalTexture>
						<PushedTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check">
							<TexCoords left="0.625" right="0.75" top="0" bottom="0.25"/>
						</PushedTexture>
						<HighlightTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check" alphaMode="ADD">
							<TexCoords left="0.375" right="0.5" top="0" bottom="0.25"/>
						</HighlightTexture>
						<Scripts>
							<OnLoad>
								self.tooltipText = "XPERL_CHECK_ALL_DESC"
							</OnLoad>
							<OnClick>
								XPerl_Check_TickAll(true)
							</OnClick>
						</Scripts>
					</Button>

					<Button name="$parentSelectNone" inherits="XPerl_CheckButtonTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentSelectAll"/>
						</Anchors>
						<NormalTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check">
							<TexCoords left="0.75" right="0.875" top="0" bottom="0.25"/>
						</NormalTexture>
						<PushedTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check">
							<TexCoords left="0.875" right="1" top="0" bottom="0.25"/>
						</PushedTexture>
						<HighlightTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check" alphaMode="ADD">
							<TexCoords left="0.375" right="0.5" top="0" bottom="0.25"/>
						</HighlightTexture>
						<Scripts>
							<OnLoad>
								self.tooltipText = "XPERL_CHECK_NONE_DESC"
							</OnLoad>
							<OnClick>
								XPerl_Check_TickAll()
							</OnClick>
						</Scripts>
					</Button>

					<Button name="$parentDelete" inherits="XPerl_CheckButtonTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentSelectNone">
								<Offset>
									<AbsDimension x="30" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<NormalTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check">
							<TexCoords left="0" right="0.125" top="0.25" bottom="0.5"/>
						</NormalTexture>
						<PushedTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check">
							<TexCoords left="0.125" right="0.25" top="0.25" bottom="0.5"/>
						</PushedTexture>
						<DisabledTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check">
							<TexCoords left="0.25" right="0.375" top="0.25" bottom="0.5"/>
						</DisabledTexture>
						<HighlightTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check" alphaMode="ADD">
							<TexCoords left="0.375" right="0.5" top="0" bottom="0.25"/>
						</HighlightTexture>
						<Scripts>
							<OnLoad>
								self.tooltipText = "XPERL_CHECK_DELETE_DESC"
							</OnLoad>
							<OnClick>
								XPerl_Check_DeleteSelectedItems()
							</OnClick>
						</Scripts>
					</Button>

					<Button name="$parentEquiped" inherits="XPerl_CheckButtonTemplate">
						<Anchors>
							<Anchor point="TOPRIGHT"/>
						</Anchors>
						<NormalTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check">
							<TexCoords left="0.375" right="0.5" top="0.5" bottom="0.75"/>
						</NormalTexture>
						<PushedTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check">
							<TexCoords left="0.5" right="0.625" top="0.5" bottom="0.75"/>
						</PushedTexture>
						<DisabledTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check">
							<TexCoords left="0.625" right="0.75" top="0.5" bottom="0.75"/>
						</DisabledTexture>
						<HighlightTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check" alphaMode="ADD">
							<TexCoords left="0.375" right="0.5" top="0" bottom="0.25"/>
						</HighlightTexture>
						<Scripts>
							<OnLoad>
								self.tooltipText = "XPERL_CHECK_SCAN_DESC"
							</OnLoad>
							<OnClick>
								XPerl_Check_StartActiveScan()
							</OnClick>
						</Scripts>
					</Button>

					<Button name="$parentReportWithout" inherits="XPerl_CheckButtonTemplate">
						<Anchors>
							<Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeTo="$parentEquiped"/>
						</Anchors>
						<NormalTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check">
							<TexCoords left="0.375" right="0.5" top="0.75" bottom="1"/>
						</NormalTexture>
						<PushedTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check">
							<TexCoords left="0.5" right="0.625" top="0.75" bottom="1"/>
						</PushedTexture>
						<DisabledTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check">
							<TexCoords left="0.625" right="0.75" top="0.75" bottom="1"/>
						</DisabledTexture>
						<HighlightTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check" alphaMode="ADD">
							<TexCoords left="0.375" right="0.5" top="0" bottom="0.25"/>
						</HighlightTexture>
						<Scripts>
							<OnLoad>
								self.tooltipText = "XPERL_CHECK_REPORT_WITHOUT_DESC"
							</OnLoad>
							<OnClick>
								XPerl_Check_Report("without")
							</OnClick>
						</Scripts>
					</Button>

					<Button name="$parentReportWith" inherits="XPerl_CheckButtonTemplate">
						<Anchors>
							<Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeTo="$parentReportWithout"/>
						</Anchors>
						<NormalTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check">
							<TexCoords left="0" right="0.125" top="0.75" bottom="1"/>
						</NormalTexture>
						<PushedTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check">
							<TexCoords left="0.125" right="0.25" top="0.75" bottom="1"/>
						</PushedTexture>
						<DisabledTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check">
							<TexCoords left="0.25" right="0.375" top="0.75" bottom="1"/>
						</DisabledTexture>
						<HighlightTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check" alphaMode="ADD">
							<TexCoords left="0.375" right="0.5" top="0" bottom="0.25"/>
						</HighlightTexture>
						<Scripts>
							<OnLoad>
								self.tooltipText = "XPERL_CHECK_REPORT_WITH_DESC"
							</OnLoad>
							<OnClick>
								XPerl_Check_Report("with")
							</OnClick>
						</Scripts>
					</Button>

					<Button name="$parentReport" inherits="XPerl_CheckButtonTemplate">
						<Anchors>
							<Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeTo="$parentReportWith"/>
						</Anchors>
						<NormalTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check">
							<TexCoords left="0" right="0.125" top="0.5" bottom="0.75"/>
						</NormalTexture>
						<PushedTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check">
							<TexCoords left="0.125" right="0.25" top="0.5" bottom="0.75"/>
						</PushedTexture>
						<DisabledTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check">
							<TexCoords left="0.25" right="0.375" top="0.5" bottom="0.75"/>
						</DisabledTexture>
						<HighlightTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check" alphaMode="ADD">
							<TexCoords left="0.375" right="0.5" top="0" bottom="0.25"/>
						</HighlightTexture>
						<Scripts>
							<OnLoad>
								self.tooltipText = "XPERL_CHECK_REPORT_DESC"
							</OnLoad>
							<OnClick>
								XPerl_Check_Report()
							</OnClick>
						</Scripts>
					</Button>

					<Button name="$parentPlayer" inherits="XPerl_CheckButtonTemplate">
						<Anchors>
							<Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeTo="$parentReport"/>
						</Anchors>
						<NormalTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check">
							<TexCoords left="0.75" right="0.875" top="0.75" bottom="1"/>
						</NormalTexture>
						<PushedTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check">
							<TexCoords left="0.875" right="1" top="0.75" bottom="1"/>
						</PushedTexture>
						<DisabledTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check">
							<TexCoords left="0.875" right="1" top="0.25" bottom="0.5"/>
						</DisabledTexture>
						<HighlightTexture file="Interface\Addons\XPerl_RaidAdmin\Images\XPerl_Check" alphaMode="ADD">
							<TexCoords left="0.375" right="0.5" top="0" bottom="0.25"/>
						</HighlightTexture>
						<Layers>
							<Layer level="BACKGROUND">
								<Texture>
									<Color r="0" g="0" b="0"/>
									<Anchors>
										<Anchor point="TOPLEFT">
											<Offset>
												<AbsDimension x="4" y="-4"/>
											</Offset>
										</Anchor>
										<Anchor point="BOTTOMRIGHT">
											<Offset>
												<AbsDimension x="-4" y="4"/>
											</Offset>
										</Anchor>
									</Anchors>
								</Texture>
							</Layer>
							<Layer level="BORDER">
								<Texture name="$parentPortrait">
									<Anchors>
										<Anchor point="TOPLEFT">
											<Offset>
												<AbsDimension x="6" y="-6"/>
											</Offset>
										</Anchor>
										<Anchor point="BOTTOMRIGHT">
											<Offset>
												<AbsDimension x="-6" y="6"/>
											</Offset>
										</Anchor>
									</Anchors>
								</Texture>
							</Layer>
						</Layers>
						<Scripts>
							<OnLoad>
								self.tooltipText = "XPERL_CHECK_REPORTPLAYER_DESC"
							</OnLoad>
							<OnClick>
								XPerl_Check_Report("player")
							</OnClick>
							<OnMouseDown>
								if (arg1 == "LeftButton" and self:IsEnabled() == 1) then
									getglobal(self:GetName().."Portrait"):SetPoint("TOPLEFT", 7, -7)
									getglobal(self:GetName().."Portrait"):SetPoint("BOTTOMRIGHT", -5, 5)
								end
							</OnMouseDown>
							<OnMouseUp>
								getglobal(self:GetName().."Portrait"):SetPoint("TOPLEFT", 6, -6)
								getglobal(self:GetName().."Portrait"):SetPoint("BOTTOMRIGHT", -6, 6)
							</OnMouseUp>
						</Scripts>
					</Button>
					<Frame name="$parentChannel" inherits="UIDropDownMenuTemplate" enableMouse="true">
						<Anchors>
							<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="XPerl_CheckListPlayers">
								<Offset>
									<AbsDimension x="-40" y="-3" />
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnLoad>
								XPerl_Check_Channels_OnLoad(self)
							</OnLoad>
							<OnShow>
								XPerl_Check_Channels_OnLoad(self)
							</OnShow>
							<OnEnter>
								GameTooltip:SetOwner(self, "ANCHOR_RIGHT", -15, 0)
								GameTooltip:SetText(XPERL_CHECK_REPORT_DROPDOWN_DESC, nil, nil, nil, nil, 1)
							</OnEnter>
							<OnLeave>
								GameTooltip:Hide()
							</OnLeave>
						</Scripts>
					</Frame>
				</Frames>
				<Layers>
					<Layer level="BACKGROUND">
						<FontString name="$parentInfo" inherits="GameFontNormal" justifyH="LEFT" justifyV="CENTER">
							<Anchors>
								<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentReport"/>
								<Anchor point="BOTTOMRIGHT">
									<Offset>
										<AbsDimension x="-3" y="2"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
			</Frame>
		</Frames>
	</Frame>
</Ui>
